import request from '@/utils/request'

export function getAllTJXM() {
    return request({
        url: 'TJXM/selectTJXM',
        method: 'get',
    })
}

export function createPackage(data) {
    return request({
        url: 'TJXM/createTJXM',
        method: 'post',
        data: data
    })
}

// export function updatePackage(id,data) {
//     return request({
//         url: 'physical_examination_package/update/'+id,
//         method: 'put',
//         data: data
//     })
// }
//
export function deleteXM(id) {
    return request({
        url: 'TJXM/delete/' + id,
        method: 'post'
    })
}

export function selectBySSTC() {
    return request({
        url: 'TJXM/selectBySSTC',
        method: 'get'
    })
}
